

/* ── VARIABILI ── */
:root {
  --nero: #0d0d0d;
  --antracite: #1a1a1a;
  --grigio: #2e2e2e;
  --grigio-chiaro: #888;
  --oro: #b8985a;
  --oro-chiaro: #d4b472;
  --bianco: #f5f3ef;
  --bianco-puro: #ffffff;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  padding-top: 65px;
  font-family: 'DM Sans', sans-serif;
  background: var(--bianco);
  color: var(--nero);
  overflow-x: hidden;
}
a, a:link, a:visited {
  color: var(--oro);
  text-decoration: none;
}
a:hover { color: var(--oro-chiaro); } 

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,152,90,0.2);
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--bianco);
  letter-spacing: 0.08em;
  text-decoration: none;
}
.logo span { color: var(--oro); }

/* Hamburger — visibile su mobile */
.nav-toggle {
  display: block;
  background: none; border: none;
  color: var(--bianco); font-size: 1.5rem;
  cursor: pointer; line-height: 1;
}

/* Menu — nascosto su mobile, aperto con .open */
nav ul {
  display: none;
  flex-direction: column;
  list-style: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(13,13,13,0.98);
  padding: 1.5rem 2rem;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(184,152,90,0.15);
}
nav ul.open { display: flex; }
nav ul a {
  text-decoration: none;
  color: rgba(245,243,239,0.75);
  font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.25s;
}
nav ul a:hover { color: var(--oro); }

@media (min-width: 900px) {
  nav { padding: 1.2rem 4rem; }
  .logo { font-size: 1.6rem; }
  .nav-toggle { display: none; }
  nav ul {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    padding: 0;
    gap: 2.5rem;
    border: none;
  }
  
  nav ul a { font-size: 0.8rem; }
}

/* ══════════════════════════════════════
   HERO — mobile first
══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 6rem 1.5rem 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(184,152,90,0.08) 0%, transparent 65%),
    linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--oro); margin-bottom: 1.5rem;
  border-left: 2px solid var(--oro); padding-left: 0.8rem;
}
.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  font-weight: 600; line-height: 1.05;
  color: var(--bianco); margin-bottom: 1.5rem;
}
.hero-content h1 em { font-style: italic; color: var(--oro); }
.hero-content p {
  font-size: 0.95rem; color: rgba(245,243,239,0.6);
  line-height: 1.7; margin-bottom: 2.5rem; max-width: 480px;
}
.btn-wrapper{
  width:100%;
  display: flex;
  flex-flow:row wrap;
  gap: 0.8rem 0.8rem;
  align-items: stretch;
}
.hero-content .btn-primary {
  display:flex ; align-items: center; 
  justify-content: center;
  padding: 0.75rem 0.5rem;
  background: var(--oro); color: var(--antracite);
  border: solid 1px var(--oro) ;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--antracite); color: var(--oro);/* transform: translateY(-2px);*/}

.btn-outline {
  display: flex; align-items: center; 
  justify-content: center;
  padding:0.75rem 0.5rem;
  border: 1px solid rgba(245,243,239,0.3); color: var(--bianco);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; 
  transition: border-color 0.25s, color 0.25s;
}
.btn-outline:hover { border-color: var(--oro); color: var(--oro ); }

@media (min-width: 900px) {
  #hero { padding: 0 4rem; }
  .btn-primary, .btn-outline { padding: 1rem 2.5rem; }
}


section { padding: 4rem 1.5rem; }

.section-tag {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--oro); margin-bottom: 0.8rem;
  border-left: 2px solid var(--oro); padding-left: 0.8rem;
  display: inline-block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 600; line-height: 1.1;
  color: var(--nero); margin-bottom: 1rem;
}
.section-title.light { color: var(--bianco); }
.section-sub {
  font-size: 0.95rem; color: var(--grigio-chiaro);
  line-height: 1.7; max-width: 520px;
}

@media (min-width: 800px) {
  section { padding: 7rem 4rem; }
}

/* ══════════════════════════════════════
   VETRINA AUTO — mobile first
══════════════════════════════════════ */
#vetrina { background: var(--bianco); }

.vetrina-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.vetrina-header .section-sub { margin-bottom: 0; }
.vetrina-link {
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--oro); text-decoration: none;
  border-bottom: 1px solid var(--oro); padding-bottom: 0.2rem;
  transition: opacity 0.2s;
}
.vetrina-link:hover { opacity: 0.7; }

.auto-grid {
  display: flex; flex-flow:row nowrap;
  gap: 1.5rem;
  overflow-x: scroll;
  width: 100%;
  scroll-snap-type: x mandatory;
  overflow-y:hidden;
}
.auto-card {
  background: var(--bianco-puro);
  border: 1px solid #e8e5e0;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.auto-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.auto-card-img {

  background: #e8e5e0;
  Width: 100%;
  Height: 210px;
  display: block;
  object-fit: cover;
}
.auto-card-img-placeholder {
    width: 100%;
  height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8e5e0 0%, #d4d0c9 100%);
  display: flex; align-items: center; justify-content: center;
  color: #aaa; font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.auto-card-body { padding: 1.5rem; }
.auto-badge {
  display: inline-block;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--oro); border: 1px solid var(--oro);
  padding: 0.2rem 0.6rem; margin-bottom: 0.8rem;
}
.auto-nome {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600;
  color: var(--nero); margin-bottom: 0.4rem;
}
.auto-dettagli {
  font-size: 0.82rem; color: var(--grigio-chiaro);
  margin-bottom: 1.2rem; line-height: 1.5;
}
.auto-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid #e8e5e0; padding-top: 1rem;
}
.auto-prezzo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 700; color: var(--nero);
}
.auto-cta {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--oro); text-decoration: none;
  border-bottom: 1px solid var(--oro); padding-bottom: 0.15rem;
  transition: opacity 0.2s;
}
.auto-cta:hover { opacity: 0.7; }

@media (min-width: 600px) {
  .auto-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .vetrina-header { flex-direction: row; align-items: flex-end; margin-bottom: 3.5rem; }
  .vetrina-link { margin-left: 2rem; }
  .auto-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
}

/* ══════════════════════════════════════
   CHI SIAMO — mobile first
══════════════════════════════════════ */
#chi-siamo {
  background: var(--antracite);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
#chi-siamo .section-sub { color: rgba(245,243,239,0.55); margin-top: 1.2rem; }
.chi-siamo-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  margin-top: 3rem;
}
.stat-item { border-left: 2px solid var(--oro); padding-left: 1.2rem; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 700; color: var(--bianco);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem; color: rgba(245,243,239,0.45);
  letter-spacing: 0.08em; margin-top: 0.3rem;
}

/* Foto showroom nascosta su mobile */
.chi-siamo-img { display: none; }

@media (min-width: 900px) {
  #chi-siamo { grid-template-columns: 1fr 1fr; gap: 6rem; }
  .chi-siamo-img {
    display: flex;
    width: 100%; aspect-ratio: 4/3;
    background: linear-gradient(135deg, #2e2e2e, #1a1a1a);
    align-items: center; justify-content: center;
    color: rgba(184,152,90,0.3);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem; letter-spacing: 0.2em;
    border: 1px solid rgba(184,152,90,0.15);
    position: relative; overflow: hidden;
  }
  .chi-siamo-img::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(184,152,90,0.05) 0%, transparent 70%);
  }
}

/* ══════════════════════════════════════
   SERVIZI — mobile first
══════════════════════════════════════ */
#servizi { background: var(--bianco); }
.servizi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 3rem;
  border: 2px solid var(--nero);
  background:var(--nero);
}
.servizio-item {
  
  padding: 2rem 1.5rem;
  border-bottom: 2px solid var(--nero);
  transition: background 0.3s;
  background: var(--bianco);
}
.servizio-item:last-child { border-bottom: none; }
.servizio-item:hover { background: var(--nero); }
.servizio-item:hover .servizio-titolo { color: var(--oro); }
.servizio-item:hover .servizio-desc { color:var(--grigio-chiaro); }
/*.servizio-item:hover .servizio-num { color:var(--oro); }
.servizio-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 700;
  color: #9b8154; line-height: 1; margin-bottom: 1.5rem;
  transition: color 0.3s;
}*/
.servizio-titolo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600;
  color: var(--nero); margin-bottom: 0.8rem;
  transition: color 0.3s;
}
.servizio-desc {
  font-size: 0.88rem; color: var(--grigio-chiaro);
  line-height: 1.7; transition: color 0.3s;
}

@media (min-width: 900px) {
  .servizi-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 3.5rem;
  }
  .servizio-item {
    padding: 2.5rem;
    border-bottom: none;
  }

}

/* ══════════════════════════════════════
   CONTATTI — mobile first
══════════════════════════════════════ */
#contatti {
  background: var(--nero);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
.contatti-info .section-sub { color: rgba(245,243,239,0.5); margin: 1.2rem 0 2.5rem; }
.contatto-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contatto-icon {
  width: 36px; height: 36px; min-width: 36px;
  border: 1px solid rgba(184,152,90,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--oro); font-size: 0.9rem;
}
.contatto-testo { font-size: 0.9rem; color: rgba(245,243,239,0.65); line-height: 1.6; }
.contatto-testo strong { color: var(--bianco); display: block; margin-bottom: 0.15rem; font-weight: 500; }

.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(245,243,239,0.4); margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--bianco); font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  outline: none; transition: border-color 0.25s;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--oro); }
.form-group textarea { height: 110px; resize: vertical; }
.form-group select option { background: var(--antracite); }

/* Form row: colonna singola su mobile */
.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }

.btn-submit {
  width: 100%; padding: 1rem;
  background: var(--oro); color: var(--nero);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: none; cursor: pointer; margin-top: 0.5rem;
  transition: background 0.25s;
}
.btn-submit:hover { background: var(--oro-chiaro); }

@media (min-width: 900px) {
  #contatti { grid-template-columns: 1fr 1fr; gap: 6rem; }
  .form-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ══════════════════════════════════════
   FOOTER — mobile first
══════════════════════════════════════ */
footer {
  background: var(--nero);
  border-top: 1px solid rgba(184,152,90,0.2);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
footer .logo { font-size: 1.2rem; }
.footer-copy { font-size: 0.78rem; color: rgba(245,243,239,0.3); }

@media (min-width: 900px) {
  footer {
    flex-direction: row;
    justify-content: space-between;
    padding: 2rem 4rem;
    text-align: left;
  }
}

/* ══════════════════════════════════════
   ANIMAZIONE FADE UP
══════════════════════════════════════ */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
